# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-lupa
_pkgname=${pkgname#py3-}
pkgver=1.9
pkgrel=0
pkgdesc="Python wrapper around Lua and LuaJIT"
url="https://pypi.org/project/lupa/"
arch="all"
license="MIT"
makedepends="python3-dev"
depends="python3"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4ea8d0ebe7f6481bf9ef4a49d5e30f8baf0ce12c9afb793526858808aea44eb27044ad5c2b5c9532e1ea2220a4eb9b52ce4debb2f7cb2bf53b26abee81541916  py3-lupa-1.9.tar.gz"
